<h2>dPool Elastic Cluster - Log Messages</h2>
<div id="logcontainer">
<pre id="ulist" STYLE="font-family:monospace;font-size:1.40em;width:900px;height:600px;overflow-y:auto;overflow-x:hide;" class="log"></pre>
</div>
script(type='text/javascript')


   var socket = io.connect("http://nodejs_server:8000");
   socket.on("disconnect",function() {
                      document.getElementById("ulist").innerHTML = "Disconnected...";
   });
   socket.on('logmessage', function(data){
           document.getElementById("ulist").innerHTML = data;
   });  
